package com.sky.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@Api(tags = "新增-修改员工传递的数据模型")
public class EmployeeDTO implements Serializable {

    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("电话")
    private String phone;
    @ApiModelProperty("默认密码")
    private String password;
    @ApiModelProperty("确认密码")
    private String rePassword;
    @ApiModelProperty("性别—1：男 2：女")
    private String sex;
    @ApiModelProperty("身份证号")
    private String idNumber;

}
